package com.jlect.swebing.renderers.client;

/**
 * Mouse event class for renderers api
 *
 * @author Sergey Kozmin
 * @since 24.11.2007 15:30:26
 */
public class RendererMouseEvent extends AbstractRendererEvent {
    private int actionType;
    public RendererMouseEvent(Renderer source, int modifiers, int actionType) {
        init(source, modifiers, actionType);
    }

    public void init(Renderer source, int modifiers, int actionType) {
        init(source, modifiers);
        this.actionType = actionType;
    }

    public int getEventType() {
        return actionType;
    }

    public String toString() {
        return "RendererMouseEvent{" +
                "actionType=" + actionType +
                "} " + super.toString();
    }
}
